#include "VirtualNDK.h"
#include "Module.h"


int main()
{
	uint32_t value;
	VirtualNDK vndk;
	
	Module* libmod = vndk.load_library("Z:\\SoEmulator\\VirtualNDK\\VirtualNDK\\test\\libtest.so",false);

	vndk.call_symbol(libmod, "_Z9hooks_fuci", 0, 0);

	uc_reg_read(vndk.uc, UC_ARM_REG_R0, &value);
	printf("%d", value);
	getchar();

	return 0;
}